.home {
  height: 100%;
  display: flex;
  flex-direction: column;

  .am-search {
    background-color: #fff;
  }

  .notice-bar {
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    line-height: auto !important;
  }

  .is-show-notice-bar-false {
    height: 0 !important;
  }
}

.conversation {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;

  .showHistory{
    padding: 15px 0;
    text-align: center;
    color: #108ee9;
    cursor: pointer;
  }

  &::-webkit-scrollbar {
    width: 5px;
    /* height: 20px; */
  }

  &::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 10px;
    /* -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1); */
    background: #E1E1E1;
  }
}

.operation {
  padding: 10px;
  padding-bottom: 0;
  background-color: #fff;

  .operation-bar {
    color: #888888;
    display: flex;
    align-items: flex-end;
    padding-bottom: 10px;
    line-height: 42px;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;

    .item {
      width: 28px;
      height: 32px;
      flex-shrink: 0;
      /* border: 1px solid #888; */
      border-radius: 50%;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      -ms-border-radius: 50%;
      -o-border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0 5px;
      cursor: pointer;

      &:active {
        color: #5f5f5f;
      }

      &.send {
        position: absolute;
        transform: scale(0);
        color: #009900;
        transition: transform 0.3s;
        -webkit-transition: transform 0.3s;
        -moz-transition: transform 0.3s;
        -ms-transition: transform 0.3s;
        -o-transition: transform 0.3s;
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
        z-index: -2;
      }

      &.send-true {
        position: relative;
        width: auto;
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        z-index: 10;
      }

      &.send:active {
        color: #005A00;
      }

    }
  }
}



.user-input {
  flex: 1;
  overflow: hidden;
  padding: 0 10px;
  border-radius: 8px;
  /* height: 32px; */

  .input-content {
    /* font-size: 16px; */
    /* width: 100%; */
    line-height: 32px;
    border: 0;
    /* font-size: 16px; */
    background-color: transparent;
    padding: 0 10px;
    background-color: #F5F5F9;
    /* min-height: 8vw; */
    max-height: 20vw;
    overflow-y: auto;
    /* padding: 1.5vw 2vw; */
    resize: none;
    border-radius: 8px;
    word-break: break-all;

    &:empty::before {
      content: attr(placeholder);
    }

    img {
      width: 1.5em;
      margin: 0 3px;
      vertical-align: middle;
    }
  }

  .record-audio {
    /* padding: 1.5vw 2vw; */
    /* font-size: 16px; */
    line-height: 32px;
    text-align: center;
    background-color: #F5F5F9;
    border-radius: 8px;

    &:active {
      background-color: #EAEAEA;
    }
  }
}

.operation-info {
  /* display: flex;
  justify-content: center; */
  padding-top: 10px;
}

.operation-info {
  .emoji-picker-list-3 {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */
    font-size: 20px;
    background-color: #fff;
    transition: all 0.3s;
    /* padding-top: 2vw; */
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;

    .emoji-item {
      /* --emoji-row-number: 10; */
      /* flex: 1;
      flex-shrink: 0; */
      width: calc(100% / 10);
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;

      &:hover {
        background-color: #F5F5F9;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        -ms-border-radius: 10px;
        -o-border-radius: 10px;
      }
    }

    &::-webkit-scrollbar {
      position: absolute;
      width: 0px;
    }

    &::-webkit-scrollbar-thumb {
      /*滚动条里面小方块*/
      border-radius: 10px;
      /* -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1); */
      background: #E1E1E1;
    }
  }
}

.media-operation-list {
  transition: all 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  overflow: hidden;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;

  .item {
    flex-shrink: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    .icon {
      width: 24px;
      height: 24px;
      font-size: 20px;
      background-color: #F5F5F9;
      padding: 10px;
      border-radius: 8px;
      -webkit-border-radius: 8px;
      -moz-border-radius: 8px;
      -ms-border-radius: 8px;
      -o-border-radius: 8px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #616161;
    }

    &:active {
      .icon {
        background-color: #DEDEDE;
      }
    }

    .name {
      margin-top: 6px;
      text-align: center;
      color: #616161;
    }

  }
}

.custom-toast {
  margin: 8px;

  .content {
    margin-top: 10px;
  }
}

.pre-audio {
  width: 100%
}